﻿@model Alabama.Group
<h3>
    Phân menu cho: <a href="/Group/UsersInGroup/@Model.ID">@Model.Title</a></h3>
<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
@Html.ValidationSummary(true, "Thêm menu vào nhóm không thành công")
@using (Html.BeginForm("Menu", "Group", new { groupID = Model.ID }))
{
    <div>
        @Html.Hidden("listCheck", null, new {id="HiddenListRole"})
        <div class="control-group">
            <label class="control-label">
                Danh sách menu</label>
            <div class="controls" id="ListRoles">
                @Html.Raw(ViewBag.listMenu)
            </div>
            <input type="submit" value="Lưu lại" class="btn btn-primary" id="SubmitRole" />
            @Html.ActionLink("Hủy", "index", null, new { @class = "btn" })
        </div>
    </div>
}